<!--组织新增页面-->
<template>
    <f7-page no-toolbar>
        <f7-navbar title="申请成为团队组织" back-link="Back">
        </f7-navbar>

        <!--基本资料-->
        <f7-list form class="margin-top">
            <f7-list-input
                    label="团队名称"
                    type="text"
                    placeholder="请输入"
            />
            <f7-list-input
                    label="联系电话"
                    type="textarea"
                    placeholder="请输入"
            />
            <f7-list-input
                    label="聚会类型"
                    type="select"
                    defaultValue="旅游"
            >
                <option>自驾游</option>
                <option>旅游</option>
                <option>电影</option>
            </f7-list-input>
            <f7-list-input
                    label="主图"
                    type="textarea"
                    placeholder="最少请输入一张"
            />
            <f7-list-input
                    label="当前手机号"
                    name="username"
                    placeholder="请输入手机号码"
                    type="text"
            />
            <f7-list-input
                    label="身高"
                    name="username"
                    placeholder="请输入手机号码"
                    type="text"
            />
            <f7-list-input
                    label="当前手机号"
                    name="username"
                    placeholder="请输入手机号码"
                    type="text"
            />
            <f7-list-input
                    label="身高"
                    name="username"
                    placeholder="请输入手机号码"
                    type="text"
            />
            //体重，职业，交友要求，城市
            <f7-list-input
                    label="出生日期"
                    type="date"
                    placeholder="出生日期"
                    value="2019-04-30"
            />
            <f7-list-input
                    label="个人签名"
                    type="textarea"
                    placeholder="个人签名"
            />
        </f7-list>

        <!--<f7-list style="text-align: center;width: 90%;margin-top: -24px;margin-left: 5%;">
            <f7-button fill round text="保存"></f7-button>
        </f7-list>-->
        <f7-toolbar bottom>
            <!--<f7-link style="width: 100%" href="/home/" target="_blank" text="完成，感谢您开启合群时代"></f7-link>-->
            <f7-button href="/activity/actAddDesc/" style="color: white;width: 100%;margin: auto 5%;" class="col button button-fill button-round">
                下一步，增加组织介绍
            </f7-button>
        </f7-toolbar>

    </f7-page>
</template>

<script>
    import labelListEdit from '../../components/labelListEdit.vue';

    // import js12 from '../../common/eleditor/jquery.min.js'
    // import js123 from '../../common/eleditor/webuploader.min.js'
    // import js1 from '../../common/eleditor/Eleditor.min.js'

    /*  /!*实例化一个编辑器*!/
      var artEditor = new Eleditor({
        el: '#article-body',
        upload:{
          server: '/upload.php',
          fileSizeLimit: 2
        }
      });*/


    export default {
        components: {labelListEdit},
        data() {
            return {
                swiperParams: {
                    // speed: 500,
                    loop: true,
                    // height:600,
                    // autoplay: {
                    //   delay: 1500,
                    // },
                    direction: 'vertical'
                    // preventLinksPropagation: false   // 阻止点击事件冒泡
                },
            };
        },
        methods: {
            refresh(event, done) {
                setTimeout(() => {
                    // todo
                    done();
                }, 1000);
            },
            updateData(e = "") {
                let c1 = e.replace(/<img width="100%"/g, "<img");
                let c2 = c1.replace(/<img/g, '<img width="100%"');
                this.content = c2;
                console.log(this.content);

            }
        }
    }
</script>

<style scoped>

</style>
